package cn.dao.dao;

import cn.dao.entity.Provider;
import cn.dao.entity.bill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by sunbin on 2017/7/14.
 */
public interface BillDao {
    public List<bill> list(int pageIndex,int pageSize,@Param("productName") String productName,@Param("proName") String proName,@Param("isPayment") Integer isPayment );
     public List<Provider> listg();
     public int count(@Param("productName") String productName,@Param("proName") String proName,@Param("isPayment") Integer isPayment);
     public bill BillView(int id);
     public int updates(bill bill);
     public int inserts(bill bill);
     public int deletes(int id);
}
